go/types.Const.Pos (method, view implemented interface methods)
20 uses
go/types (current package)
infer.go#L505: tname := NewTypeName(tparam.Obj().Pos(), tparam.Obj().Pkg(), tparam.Obj().Name(), nil)
mono.go#L290: if elem, ok := elem.(*TypeName); ok && !elem.IsAlias() && cmpPos(elem.Pos(), obj.Pos()) < 0 {
mono.go#L297: w.addEdge(idx, w.typeParamVertex(tpar), 1, obj.Pos(), tpar)
object.go#L148: func (obj *object) Pos() token.Pos { return obj.pos }
typestring.go#L330: w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos()))
golang.org/x/exp/apidiff
apidiff.go#L214: vars = append(vars, types.NewVar(v.Pos(), v.Pkg(), "", v.Type()))
golang.org/x/tools/internal/gcimporter
iexport.go#L468: w.pos(obj.Pos())
iexport.go#L489: w.pos(obj.Pos())
iexport.go#L504: w.pos(obj.Pos())
iexport.go#L512: w.pos(obj.Pos())
iexport.go#L527: w.pos(obj.Pos())
iexport.go#L548: w.pos(obj.Pos())
iexport.go#L567: w.pos(m.Pos())
iexport.go#L757: w.pos(t.Obj().Pos())
iexport.go#L841: w.pos(f.Pos())
iexport.go#L858: w.pos(named.Obj().Pos())
iexport.go#L875: w.pos(m.Pos())
ureader_yes.go#L562: recv := types.NewVar(fn.Pos(), fn.Pkg(), "", named)
ureader_yes.go#L563: methods[i] = types.NewFunc(fn.Pos(), fn.Pkg(), fn.Name(), types.NewSignature(recv, sig.Params(), sig.Results(), sig.Variadic()))